package com.soft.base.spring.request.type;

import com.soft.base.enums.ValueNameEnum;
/**
 * class
 *
 * @author user
 * @date 2020/06/05
 */
public enum SortItemType implements ValueNameEnum<String> {

    /**
     *
     */
    ASC("asc", "正序"),
    /**
     *
     */
    DESC("desc", "倒序");

    private String value;
    private String name;

    SortItemType(String value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public String getValue() {
        return value;
    }

    @Override
    public String getName() {
        return name;
    }
}
